home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| C++ source text
| default
| |
99%
| file
| C source text
| default
| |
98%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 6e 65 72 | 2e 62 62 6e 70 6c 61 6e |news.ner|.bbnplan|
|00000030| 65 74 2e 6e 65 74 21 61 | 72 63 6f 21 75 73 65 6e |et.net!a|rco!usen|
|00000040| 65 74 0a 46 72 6f 6d 3a | 20 42 72 69 61 6e 20 4c |et.From:| Brian L|
|00000050| 65 61 63 68 20 3c 6c 61 | 73 62 66 6c 3e 0a 53 75 |each <la|sbfl>.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 4e 65 77 62 69 |bject: R|e: Newbi|
|00000070| 65 20 51 3a 20 49 73 20 | 74 68 65 72 65 20 61 20 |e Q: Is |there a |
|00000080| 53 74 61 74 69 63 20 70 | 6f 69 6e 74 65 72 3f 0a |Static p|ointer?.|
|00000090| 58 2d 4e 6e 74 70 2d 50 | 6f 73 74 69 6e 67 2d 48 |X-Nntp-P|osting-H|
|000000a0| 6f 73 74 3a 20 31 33 36 | 2e 32 32 36 2e 31 31 36 |ost: 136|.226.116|
|000000b0| 2e 31 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.1.Conte|nt-Type:|
|000000c0| 20 74 65 78 74 2f 70 6c | 61 69 6e 3b 20 63 68 61 | text/pl|ain; cha|
|000000d0| 72 73 65 74 3d 75 73 2d | 61 73 63 69 69 0a 4d 65 |rset=us-|ascii.Me|
|000000e0| 73 73 61 67 65 2d 49 44 | 3a 20 3c 44 4d 30 46 38 |ssage-ID|: <DM0F8|
|000000f0| 41 2e 41 37 79 40 6e 65 | 77 73 2e 61 72 63 6f 2e |A.A7y@ne|ws.arco.|
|00000100| 63 6f 6d 3e 0a 54 6f 3a | 20 75 61 31 38 37 40 66 |com>.To:| ua187@f|
|00000110| 72 65 65 6e 65 74 2e 56 | 69 63 74 6f 72 69 61 2e |reenet.V|ictoria.|
|00000120| 42 43 2e 43 41 0a 53 65 | 6e 64 65 72 3a 20 75 73 |BC.CA.Se|nder: us|
|00000130| 65 6e 65 74 40 6e 65 77 | 73 2e 61 72 63 6f 2e 63 |enet@new|s.arco.c|
|00000140| 6f 6d 0a 43 6f 6e 74 65 | 6e 74 2d 54 72 61 6e 73 |om.Conte|nt-Trans|
|00000150| 66 65 72 2d 45 6e 63 6f | 64 69 6e 67 3a 20 37 62 |fer-Enco|ding: 7b|
|00000160| 69 74 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |it.Organ|ization:|
|00000170| 20 41 52 43 4f 20 4f 69 | 6c 20 25 20 47 61 73 20 | ARCO Oi|l % Gas |
|00000180| 43 6f 6d 70 61 6e 79 0a | 52 65 66 65 72 65 6e 63 |Company.|Referenc|
|00000190| 65 73 3a 20 3c 31 39 39 | 36 4a 61 6e 32 37 2e 32 |es: <199|6Jan27.2|
|000001a0| 32 33 35 31 36 2e 31 39 | 30 33 31 40 66 72 65 65 |23516.19|031@free|
|000001b0| 6e 65 74 2e 76 69 63 74 | 6f 72 69 61 2e 62 63 2e |net.vict|oria.bc.|
|000001c0| 63 61 3e 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |ca>.Mime|-Version|
|000001d0| 3a 20 31 2e 30 0a 44 61 | 74 65 3a 20 54 75 65 2c |: 1.0.Da|te: Tue,|
|000001e0| 20 33 30 20 4a 61 6e 20 | 31 39 39 36 20 31 39 3a | 30 Jan |1996 19:|
|000001f0| 35 32 3a 35 38 20 47 4d | 54 0a 58 2d 4d 61 69 6c |52:58 GM|T.X-Mail|
|00000200| 65 72 3a 20 4d 6f 7a 69 | 6c 6c 61 20 31 2e 31 4e |er: Mozi|lla 1.1N|
|00000210| 20 28 58 31 31 3b 20 49 | 3b 20 48 50 2d 55 58 20 | (X11; I|; HP-UX |
|00000220| 41 2e 30 39 2e 30 35 20 | 39 30 30 30 2f 37 35 35 |A.09.05 |9000/755|
|00000230| 29 0a 58 2d 55 72 6c 3a | 20 6e 65 77 73 3a 31 39 |).X-Url:| news:19|
|00000240| 39 36 4a 61 6e 32 37 2e | 32 32 33 35 31 36 2e 31 |96Jan27.|223516.1|
|00000250| 39 30 33 31 40 66 72 65 | 65 6e 65 74 2e 76 69 63 |9031@fre|enet.vic|
|00000260| 74 6f 72 69 61 2e 62 63 | 2e 63 61 0a 0a 75 61 31 |toria.bc|.ca..ua1|
|00000270| 38 37 40 66 72 65 65 6e | 65 74 2e 56 69 63 74 6f |87@freen|et.Victo|
|00000280| 72 69 61 2e 42 43 2e 43 | 41 20 28 41 6c 65 78 20 |ria.BC.C|A (Alex |
|00000290| 57 61 6c 6b 65 72 29 20 | 77 72 6f 74 65 3a 0a 3e |Walker) |wrote:.>|
|000002a0| 0a 3e 0a 3e 09 49 27 6d | 20 6c 65 61 72 6e 69 6e |.>.>.I'm| learnin|
|000002b0| 67 20 43 2b 2b 20 61 6e | 64 20 61 74 20 74 68 65 |g C++ an|d at the|
|000002c0| 20 6d 6f 6d 65 6e 74 20 | 6d 61 6b 69 6e 67 20 61 | moment |making a|
|000002d0| 20 64 6f 75 62 6c 79 20 | 6c 69 6e 6b 65 64 2d 6c | doubly |linked-l|
|000002e0| 69 73 74 2e 0a 3e 09 49 | 27 64 20 6c 69 6b 65 20 |ist..>.I|'d like |
|000002f0| 74 6f 20 68 61 76 65 20 | 61 20 70 6f 69 6e 74 65 |to have |a pointe|
|00000300| 72 20 74 6f 20 61 6e 20 | 6f 62 6a 65 63 74 20 6f |r to an |object o|
|00000310| 66 20 77 68 69 63 68 20 | 74 68 65 72 65 20 69 73 |f which |there is|
|00000320| 20 6f 6e 6c 79 20 31 0a | 3e 09 63 6f 70 79 20 61 | only 1.|>.copy a|
|00000330| 6e 64 20 61 6c 6c 20 6d | 65 6d 65 62 65 72 20 6f |nd all m|emeber o|
|00000340| 66 20 74 68 65 20 63 6c | 61 73 73 20 28 65 61 63 |f the cl|ass (eac|
|00000350| 68 20 6e 6f 64 65 20 69 | 6e 20 74 68 65 20 6c 69 |h node i|n the li|
|00000360| 73 74 29 20 63 61 6e 20 | 75 73 65 20 69 74 2e 20 |st) can |use it. |
|00000370| 20 20 0a 3e 09 54 68 69 | 73 20 73 6f 75 6e 64 73 | .>.Thi|s sounds|
|00000380| 20 6c 69 6b 65 20 61 20 | 73 74 61 74 69 63 20 70 | like a |static p|
|00000390| 6f 69 6e 74 65 72 2c 20 | 62 75 74 20 64 6f 65 73 |ointer, |but does|
|000003a0| 20 73 75 63 68 20 61 6e | 20 61 6e 69 6d 61 6c 20 | such an| animal |
|000003b0| 65 78 69 73 74 73 3f 3f | 2e 0a 3e 09 49 20 63 61 |exists??|..>.I ca|
|000003c0| 6e 27 74 20 73 65 65 6d | 20 74 6f 20 66 69 6e 64 |n't seem| to find|
|000003d0| 20 61 6e 79 20 69 6e 66 | 6f 20 6f 6e 20 61 6e 79 | any inf|o on any|
|000003e0| 74 68 69 6e 67 20 6c 69 | 6b 65 20 74 68 69 73 2c |thing li|ke this,|
|000003f0| 20 28 74 79 70 69 63 61 | 6c 20 66 6f 72 20 0a 3e | (typica|l for .>|
|00000400| 09 61 20 6e 65 77 62 69 | 65 20 65 68 3f 29 0a 3e |.a newbi|e eh?).>|
|00000410| 0a 3e 09 54 68 61 6e 6b | 73 0a 3e 0a 73 74 61 74 |.>.Thank|s.>.stat|
|00000420| 69 63 20 6d 65 6d 62 65 | 72 73 20 61 72 65 20 70 |ic membe|rs are p|
|00000430| 61 72 74 20 6f 66 20 74 | 68 65 20 6c 61 6e 67 75 |art of t|he langu|
|00000440| 61 67 65 2c 20 61 6e 64 | 20 74 68 65 72 65 20 69 |age, and| there i|
|00000450| 73 20 6f 6e 6c 79 20 6f | 6e 65 20 69 6e 73 74 61 |s only o|ne insta|
|00000460| 6e 63 65 20 6f 66 20 61 | 0a 73 74 61 74 69 63 20 |nce of a|.static |
|00000470| 6d 65 6d 62 65 72 20 66 | 6f 72 20 61 6c 6c 20 69 |member f|or all i|
|00000480| 6e 73 74 61 6e 63 65 73 | 20 6f 66 20 61 20 63 6c |nstances| of a cl|
|00000490| 61 73 73 2e 0a 0a 65 78 | 3a 0a 54 68 65 20 61 2e |ass...ex|:.The a.|
|000004a0| 68 20 66 69 6c 65 3a 0a | 63 6c 61 73 73 20 41 20 |h file:.|class A |
|000004b0| 7b 0a 70 72 69 76 61 74 | 65 3a 0a 20 20 20 73 74 |{.privat|e:. st|
|000004c0| 61 74 69 63 20 63 68 61 | 72 2a 20 70 74 72 3b 0a |atic cha|r* ptr;.|
|000004d0| 70 75 62 6c 69 63 3a 0a | 20 2e 2e 2e 0a 7d 3b 0a |public:.| ....};.|
|000004e0| 0a 54 68 65 20 61 2e 43 | 20 66 69 6c 65 20 28 6f |.The a.C| file (o|
|000004f0| 72 20 61 2e 63 70 70 20 | 66 6f 72 20 70 63 2f 6f |r a.cpp |for pc/o|
|00000500| 73 20 70 72 6f 67 72 61 | 6d 6d 65 72 73 29 3a 0a |s progra|mmers):.|
|00000510| 23 69 6e 63 6c 75 64 65 | 20 22 61 2e 68 22 0a 0a |#include| "a.h"..|
|00000520| 63 68 61 72 20 2a 41 3a | 3a 70 74 72 3b 0a 0a 4e |char *A:|:ptr;..N|
|00000530| 6f 74 65 20 74 68 61 74 | 20 27 70 74 72 27 20 68 |ote that| 'ptr' h|
|00000540| 61 73 20 74 6f 20 62 65 | 20 64 65 63 6c 61 72 65 |as to be| declare|
|00000550| 64 20 69 6e 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |d in one| of the |
|00000560| 2e 43 20 6d 6f 64 75 6c | 65 20 74 6f 20 70 72 65 |.C modul|e to pre|
|00000570| 76 65 6e 74 20 61 6e 0a | 75 6e 64 65 63 6c 61 72 |vent an.|undeclar|
|00000580| 65 64 20 76 61 72 69 61 | 62 6c 65 20 65 72 72 6f |ed varia|ble erro|
|00000590| 72 20 61 74 20 6c 69 6e | 6b 20 74 69 6d 65 2e 0a |r at lin|k time..|
|000005a0| 0a 2d 42 72 69 61 6e 20 | 3a 2d 29 0a 0a |.-Brian |:-).. |
+--------+-------------------------+-------------------------+--------+--------+